package com.minimalist.common.entity.lindi.enums;



/**
 * @author 11987
 */
public class LindiTradeApplicationEnum{
    /**
     * 交易申请处理异常信息
     */
    public enum ErrorMsgEnum{
        /**
         * 交易申请处理异常信息
         */
        ADD_TRADE_APPLICATION_ERROR("交易申请处理异常"),
        UPDATE_TRADE_APPLICATION_ERROR("交易申请更新异常"),
        DELETE_TRADE_APPLICATION_ERROR("交易申请删除异常"),
        NONENTITY_TRADE_APPLICATION("交易申请不存在"),
        ;
        private final String desc;

        ErrorMsgEnum(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum AgreeEnum{
        /**
         * 交易申请处理异常信息
         */
        AGREE(1, "同意"),
        DISAGREE(2, "不同意"),
        ;
        private final Integer code;
        private final String desc;

        AgreeEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
